package com.lsb;

import lombok.extern.slf4j.Slf4j;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.scheduling.annotation.EnableScheduling;

@SpringBootApplication
//开启定时任务生效
@EnableScheduling
//指定mapper接口所在包
@MapperScan("com.lsb.mapper")
@Slf4j
public class Lab5Application {

    public static void main(String[] args) {
        SpringApplication.run(Lab5Application.class, args);
        log.info("-----------SpringBoot项目启动完成-----------");
    }

}
